

form .horizontal,
form .fieldset {
	width: 95%;
	background-color: #eee;
	display: block;
}

form p {
	margin: 1ex 0;
}

form p, 
form fieldset {
	clear: both;
}

form .horizontal p {
	float: left;
	clear: right;
	margin-right: 10px;
}


form .clear {
	clear: both;
}


/**********************
 Form Elements 
***********************/
ElementRow{
	padding-top:3px;
	padding-bottom:2px;
}

input {
	font-size: 10px;
	font-family: inherit;
	border: 1px solid #b3b6b0;
	margin-left: 5px;
	margin-right: 5px;
	height: 17px;
}

Textarea {
	font-size: 10px;
	font-family: inherit;
	border: 1px solid #b3b6b0;
	margin-left: 5px;
	margin-right: 5px;
}


Select {
	font-size: 12px;
	font-family: inherit;
	border: 1px solid #b3b6b0;
	margin-left: 5px;
	margin-right: 5px;
}


Textarea{
	margin-left:50px;	
}

Radio{
	font-size: 10px;
}

Checkbox{
	font-size: 10px;
}

Button{
	background-color: #f7f7f7;
	border:1px solid #cabba9;
	width: 80px;	
	color: #48585f;
	font-weight:bold;
	margin-bottom:10px;
	margin-right:10px;
	margin-top:10px;
}

ButtonBar{

}

Text{
	font-size: 12px;
	font-family: inherit;
	color: #664e38;
	padding:10px !important;
}


RequiredElement{

}

/**************************
 labels 
 **************************/
/* label of form element */
label{
	font-family: verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #24618E;
	padding-right:2px;
}

/* first child in a horizontal group, sets width so all elements down form line up */
.cfFirstChild  {
	width: 130px !important; 
}

/* the label of an individual form element */
.cfLabelTitle{
	color: #24618E;
	font-family: verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	margin-top: 8px;
	width:100px;
}

/* applyes to vertical form group labels */
.cfHeaderTitle{
	width: 100%;
	height: 40px;
	vertical-align: baseline;
	padding-top: 10px;
	padding-left: 25px;
	font-family: verdana, Arial, Helvetica, sans-serif;
	font-size: 16px;
	color: #09c;
	background-color: #f7f7f7;
	border-top: 1px solid black;
	border-bottom: 1px solid black;
}

/* applys to label of elements that are required */
.cfRequiredLabel{
	font-weight: bold;
}

.RequiredLabelIndicator {
    color: #ff0000;
    font-size:1.2em;
}

/***************************
	alignment 
****************************/
/* horizontal form groups */
.horizontal{	

}

/* vertical form groups */
.vertical table{	

}

/* left aligned labels */
.cfLabelPosLeft  {
	margin-left: 0px !important;
	text-align:left;
}

/* right aligned labels */
.cfLabelPosRight {
	margin-right: 10px;
	text-align: right;
}

/* top aligned labels */
.cfLabelPosTop  {
	margin-right: 1ex;
	padding-left:50px;
}

/* centered aligned labels */
.cfLabelPosCenter  {
	margin-right: 1ex;
	text-align: center;
}

/* LABEL AND ELEMENT POSITION */


.cfLabelPosTop .cfLabelTitle  {
	margin-right: 1ex;
	margin-bottom: 1ex;
	display: block;
}
.cfLabelPosLeft .cfLabelTitle  {
	display: block !important;
	float: left !important;
	clear: right !important;
	text-align: right !important;
	margin-right: 1ex !important;
}
.cfLabelPosRight .cfLabelTitle  {
	margin-right: 1ex;
}


/* alignment */
.cfAlignPosLeft {
	margin-right: 10px;
	margin-bottom: 1em;	
}

.cfAlignPosRight {
	float: right !important;
	margin-left: 1ex;
	margin-bottom: 16px;
}

.cfAlignPosCenter {
	float: right;
	margin-left: 1ex;
	margin-bottom: 16px;
}




/* MAC IE HACKS */
* html>body .cfLabelPosLeft .cfLabelTitle {
	display: inline;
	float: none;
	clear: none;
	text-align: left;
}
* html>body .first-child .cfLabelTitle {
	display: block;
	float: left;
	clear: right;
	text-align: right;
	margin-right: 1ex;
}


/* For Win Opera 7, nice to Opera 6 */
head:first-child+body form .compact p {
	display: inline-table;
}
